﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TabGeneral.ascx.cs" Inherits="BigLotterySyndicate.Secured.Users.Controls.TabGeneral" %>
<table cellpadding="2" cellspacing="2">
<tr>
<td>Name:</td>
<td><asp:TextBox ID="txtUserName" runat="server"></asp:TextBox></td>
</tr>

<tr>
<td>Email address:</td>
<td><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>Draws entered:</td>
<td><%= PrintDrawsEntered() %></td>
</tr>
<tr>
<td>Funds remaining:</td>
<td><%= PrintFundsRemaining() %> <asp:Button ID="ButtonAddFunds" runat="server" 
        Text="Add" onclick="ButtonAddFunds_Click" /></td>
</tr>
<tr>
<td>Enabled:</td>
<td><asp:DropDownList ID="ddlEnabled" runat="server">
<asp:ListItem Text="True" Value="True"></asp:ListItem>
<asp:ListItem Text="False" Value="False"></asp:ListItem>
</asp:DropDownList></td>
</tr>

</table>
<p>
<asp:Button ID="ButtonSave" runat="server" Text="Save changes" 
        onclick="ButtonSave_Click" />
</p>
<asp:PlaceHolder ID="PlaceHolderSuccess" runat="server" Visible="false">
<p class="green">Changes saved.</p>
</asp:PlaceHolder>
<asp:PlaceHolder ID="PlaceHolderFailure" runat="server" Visible="false">
<p class="red">Changes not saved.</p>
</asp:PlaceHolder>